package com.coin.exchange.otcbtc.vo;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class KlinesRequestVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8475376644701828699L;

	@NotNull(message="market required")
	@ApiModelProperty(value = "Unique market id", required = true, example = "otbeth")
	private String market;
	
	@ApiModelProperty(value = "Limit the number of returned price levels. Default to 30.")
	private Integer limit = 30;
	
	@ApiModelProperty(value = "Time period of K line, default to 1.")
	private Integer period = 1;
	
	@ApiModelProperty(value = "An integer represents the seconds elapsed since Unix epoch. If set, only k-line data after that time will be returned.")
	private Long timestamp;

	public String getMarket() {
		return market;
	}

	public void setMarket(String market) {
		this.market = market;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}
	
}
